const { t } = useI18n()

export const templateRuleSchema = [
  {
    label: t('templateRule.fields.id'),
    field: 'id'
  },
  {
    label: t('templateRule.fields.templateId'),
    field: 'template_id'
  },
  {
    label: t('templateRule.fields.judgeType'),
    field: 'judge_type'
  },
  {
    label: t('templateRule.fields.judgeStage'),
    field: 'judge_stage'
  },
  {
    label: t('templateRule.fields.isDrawToNext'),
    field: 'is_draw_to_next'
  },
  {
    label: t('templateRule.fields.isDebate'),
    field: 'is_debate'
  },
  {
    label: t('templateRule.fields.isMajorGroup'),
    field: 'is_major_group'
  },
  {
    label: t('templateRule.fields.majorGroupSettings'),
    field: 'major_group_settings'
  },
  {
    label: t('templateRule.fields.scoreJson'),
    field: 'score_json'
  },
  {
    label: t('templateRule.fields.judgeRule'),
    field: 'judge_rule'
  },
  {
    label: t('templateRule.fields.totalAmount'),
    field: 'total_amount'
  },
  {
    label: t('templateRule.fields.phdAmount'),
    field: 'phd_amount'
  },
  {
    label: t('templateRule.fields.masterAmount'),
    field: 'master_amount'
  },
  {
    label: t('templateRule.fields.remark'),
    field: 'remark'
  },
  {
    label: t('templateRule.fields.creator'),
    field: 'creator'
  },
  {
    label: t('templateRule.fields.createTime'),
    field: 'create_time'
  },
  {
    label: t('templateRule.fields.updater'),
    field: 'updater'
  },
  {
    label: t('templateRule.fields.updateTime'),
    field: 'update_time'
  },
  {
    label: t('templateRule.fields.deleted'),
    field: 'deleted'
  },
  {
    label: t('templateRule.fields.tenantId'),
    field: 'tenant_id'
  }
]
